<?php
$sql['get_exist_user']="
  SELECT 
  	ulgId AS USERNAME,
	  ulgPass AS PASSWORD,
  	ulgHksId AS HAKAKSES
  FROM u_user_login
  WHERE
  	ulgId='%s' AND
  	ulgPass='%s';
";

$sql['do_login']="
  UPDATE u_user_login
  SET ulgIsLogin = '1'
  WHERE ulgId='%s'
";

$sql['do_logout']="
  UPDATE u_user_login
  SET ulgIsLogin = '0'
  WHERE ulgId='%s'
";
?>
